package model;

public class MatHang {

	private int maMH;
	private int idNCC;
	private String tenMH;
	private double gia;
	private double giaNhap;
	private int soLuongMH;

	public MatHang() {
		super();

	}

	public MatHang(int maMH, int idNCC, String tenMH, double gia,
			double giaNhap, int soLuongMH) {
		super();
		this.maMH = maMH;
		this.idNCC = idNCC;
		this.tenMH = tenMH;
		this.gia = gia;
		this.giaNhap = giaNhap;
		this.soLuongMH = soLuongMH;
	}

	public int getMaMH() {
		return maMH;
	}

	public void setMaMH(int maMH) {
		this.maMH = maMH;
	}

	public int getIdNCC() {
		return idNCC;
	}

	public void setIdNCC(int idNCC) {
		this.idNCC = idNCC;
	}

	public String getTenMH() {
		return tenMH;
	}

	public void setTenMH(String tenMH) {
		this.tenMH = tenMH;
	}

	public double getGia() {
		return gia;
	}

	public void setGia(double gia) {
		this.gia = gia;
	}

	public double getGiaNhap() {
		return giaNhap;
	}

	public void setGiaNhap(double giaNhap) {
		this.giaNhap = giaNhap;
	}

	public int getSoLuongMH() {
		return soLuongMH;
	}

	public void setSoLuongMH(int soLuongMH) {
		this.soLuongMH = soLuongMH;
	}

	@Override
	public String toString() {
		return "MatHang [maMH=" + maMH + ", idNCC=" + idNCC + ", tenMH="
				+ tenMH + ", gia=" + gia + ", giaNhap=" + giaNhap
				+ ", soLuongMH=" + soLuongMH + "]";
	}

}
